package com.itheima.search.domain;

import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

@Data
@ToString
@NoArgsConstructor
public class NewsVO {
    //新闻ID
    private Long newsId;
    //新闻标题
    private String title;
    //来源
    private String source;
    //新闻类型
    private String newsType;
    //内容
    private String content;
    //状态
    private Integer status;

    //创//nFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private List<String> suggestion;

}
